package com.demo.entity;


import com.demo.annotation.AutoWired;
import com.demo.annotation.Component;
import lombok.Data;
//@Component
@Data
public class UserDao implements IUserDao{
    @AutoWired
    private Person person;
    public void search(){
        System.out.println("查找结果： person = " + person);
    }
    @Override
    public String sayHi(String word) {
        System.out.println("i am sayHi word = " + word);
        return word;
    }
}
